﻿
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Core.Extensions;
using Microsoft.EntityFrameworkCore;
using Digitalmes.Model.QcManagement;
using Digitalmes.Model;

namespace Digitalmes.ViewModel.QcManagement.QcSheetVMs
{
    public partial class QcSheetBatchVM : BaseBatchVM<QcSheet, QcSheet_BatchEdit>
    {
        public QcSheetBatchVM()
        {
            ListVM = new QcSheetListVM();
            LinkedVM = new QcSheet_BatchEdit();
        }

        public override bool DoBatchEdit()
        {
            
            return base.DoBatchEdit();
        }
    }

	/// <summary>
    /// Class to define batch edit fields
    /// </summary>
    public class QcSheet_BatchEdit : BaseVM
    {

        
        [Display(Name = "_Model._QcSheet._WoId")]
        public string WoId { get; set; }
        [Display(Name = "_Model._QcSheet._WoCode")]
        public string WoCode { get; set; }
        [Display(Name = "_Model._QcSheet._ProductId")]
        public long? ProductId { get; set; }
        [Display(Name = "_Model._QcSheet._ProductName")]
        public string ProductName { get; set; }
        [Display(Name = "_Model._QcSheet._QcMode")]
        public QcModeEnum? QcMode { get; set; }
        [Display(Name = "_Model._QcSheet._Sn")]
        public string Sn { get; set; }
        [Display(Name = "_Model._QcSheet._Template")]
        public long? TemplateId { get; set; }
        [Display(Name = "_Model._QcSheet._QcOperator")]
        public string QcOperator { get; set; }
        [Display(Name = "_Model._QcSheet._QcResult")]
        public QcStatusEnum? QcResult { get; set; }
        [Display(Name = "_Model._QcSheet._Remark")]
        public string Remark { get; set; }

        protected override void InitVM()
        {
           
        }
    }

}